package com.example.materialtest

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        toolBarBtn.setOnClickListener { startActivity(Intent(this,ToolBarActivity::class.java)) }
        DrawerLayoutBtn.setOnClickListener { startActivity(Intent(this,DrawerActivity::class.java))  }

    }


}